package cn.yzc.mapper;

import cn.yzc.pojo.UserTask;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>Project: SpringPro - UserMapper</p>
 * <p>Powered by yzc On 2023-10-25 16:42:58</p>
 * <p>描述：<p>
 *
 * @author yzc [yzc0415@126.com]
 * @version 1.0
 * @since 17
 */

@Mapper
public interface UserMapper {

    /**
     * 批量插入用户信息
     *
     * @param user
     * @return
     */
    int insertUser(List<UserTask> user);


    /**
     * 更新用户任务状态和完成时间
     *
     * @param user
     * @return
     */

    int updateStatus(UserTask user);
}
